<?php
declare(strict_types=1);

namespace app\model;

use think\Model;

class UserAddress extends Model
{
    protected $autoWriteTimestamp = true;

    // 关联用户
    public function user()
    {
        return $this->belongsTo(User::class);
    }
} 